package hibernate;

/**
 * Favorite entity. @author MyEclipse Persistence Tools
 */

public class Favorite implements java.io.Serializable {

	// Fields

	private String favoriteId;
	private UserInfo userInfo;
	private HouseInfo houseInfo;

	// Constructors

	/** default constructor */
	public Favorite() {
	}

	/** minimal constructor */
	public Favorite(String favoriteId) {
		this.favoriteId = favoriteId;
	}

	/** full constructor */
	public Favorite(String favoriteId, UserInfo userInfo, HouseInfo houseInfo) {
		this.favoriteId = favoriteId;
		this.userInfo = userInfo;
		this.houseInfo = houseInfo;
	}

	// Property accessors

	public String getFavoriteId() {
		return this.favoriteId;
	}

	public void setFavoriteId(String favoriteId) {
		this.favoriteId = favoriteId;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public HouseInfo getHouseInfo() {
		return this.houseInfo;
	}

	public void setHouseInfo(HouseInfo houseInfo) {
		this.houseInfo = houseInfo;
	}

}